.timeline-cursor {
    position: absolute;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: #ffffff;
    z-index: 100;
    pointer-events: auto;
    cursor: ew-resize;
}

.timeline-cursor::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -3px;
    width: 6px;
    height: 15px;
    background-color: rgb(39, 38, 38);
    border: 2px solid #ece7e7;
    border-radius: 5px;
}

/* 游标动画效果 */
.timeline-cursor.animated {
    animation: cursorPulse 1.5s ease-in-out infinite;
}

/* 拖动状态样式 */
.timeline-cursor:hover {
    opacity: 0.9;
    transform: scaleX(1.1);
    box-shadow: 0 0 12px rgba(255, 255, 255, 1);
}

.timeline-cursor:active {
    opacity: 0.8;
    transform: scaleX(1.2);
    box-shadow: 0 0 16px rgba(255, 255, 255, 1);
}

@keyframes cursorPulse {
    0%,
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
    50% {
        opacity: 0.7;
        transform: scaleX(1.2);
    }
}
